package com.wanlian.netty.model;

/**
 * 错误信息通用结构
 */
public class ResultInfo {
    private int resultCode;
    private String resultMsg;
    private boolean bResult;
    private String filename;

    public ResultInfo(boolean bResult) {
        this.bResult = bResult;
    }

    public ResultInfo(boolean bResult, String resultMsg) {
        this.bResult = bResult;
        this.resultMsg = resultMsg;
    }

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public boolean isBresult() {
        return bResult;
    }

    public void setBresult(boolean bResult) {
        this.bResult = bResult;
    }

    public String getFilename() {
        return filename;
    }

    public void setFilename(String filename) {
        this.filename = filename;
    }
}
